﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace hbse.Entities
{
    public class Orders : EntityBindable
    {
        private Product product;
        private IList<OrderPrint> orderPrints;
        private IList<NameplateCore> nameplateCores;
        private IList<CoaReport> coaReports;
        private IList<NameplatePacking> nameplatePackings;
        private string saleOrder;
        private string mrpNo;
        private string qtyOrder;
        private string fgStock;
        private string qtyProduction;
        private string price;
        private string barcode;
        private Users user;
        private DateTime? addDate;
        private string status;

        public virtual Product Product
        {
            get { return product; }
            set
            {
                if (!Equals(product, value))
                {
                    product = value;
                    NotifyPropertyChanged("Product");
                }
            }
        }
        public virtual IList<OrderPrint> OrderPrints
        {
            get { return orderPrints; }
            set
            {
                if (!Equals(orderPrints, value))
                {
                    orderPrints = value;
                    NotifyPropertyChanged("OrderPrints");
                }
            }
        }

        public virtual IList<NameplateCore> NameplateCores
        {
            get { return nameplateCores; }
            set
            {
                if (!Equals(nameplateCores, value))
                {
                    nameplateCores = value;
                    NotifyPropertyChanged("NameplateCores");
                }
            }
        }
        public virtual IList<CoaReport> CoaReports
        {
            get { return coaReports; }
            set
            {
                if (!Equals(coaReports, value))
                {
                    coaReports = value;
                    NotifyPropertyChanged("CoaReports");
                }
            }
        }

        public virtual IList<NameplatePacking> NameplatePackings
        {
            get { return nameplatePackings; }
            set
            {
                if (!Equals(nameplatePackings, value))
                {
                    nameplatePackings = value;
                    NotifyPropertyChanged("NameplatePackings");
                }
            }
        }
        public virtual string SaleOrder
        {
            get { return saleOrder; }
            set
            {
                if (saleOrder != value)
                {
                    saleOrder = value;
                    NotifyPropertyChanged("SaleOrder");
                }
            }
        }
        public virtual string MrpNo
        {
            get { return mrpNo; }
            set
            {
                if (mrpNo != value)
                {
                    mrpNo = value;
                    NotifyPropertyChanged("MrpNo");
                }
            }
        }
        public virtual string QtyOrder
        {
            get { return qtyOrder; }
            set
            {
                if (qtyOrder != value)
                {
                    qtyOrder = value;
                    NotifyPropertyChanged("QtyOrder");
                }
            }
        }
        public virtual string FgStock
        {
            get { return fgStock; }
            set
            {
                if (fgStock != value)
                {
                    fgStock = value;
                    NotifyPropertyChanged("FgStock");
                }
            }
        }
        public virtual string QtyProduction
        {
            get { return qtyProduction; }
            set
            {
                if (qtyProduction != value)
                {
                    qtyProduction = value;
                    NotifyPropertyChanged("QtyProduction");
                }
            }
        }

        public virtual string Price
        {
            get { return price; }
            set
            {
                if (price != value)
                {
                    price = value;
                    NotifyPropertyChanged("Price");
                }
            }
        }

        public virtual string Barcode
        {
            get { return barcode; }
            set
            {
                if (barcode != value)
                {
                    barcode = value;
                    NotifyPropertyChanged("Barcode");
                }
            }
        }

        public virtual Users Users
        {
            get { return user; }
            set
            {
                if (!Equals(user, value))
                {
                    user = value;
                    NotifyPropertyChanged("User");
                }
            }
        }
        public virtual DateTime? AddDate
        {
            get { return addDate; }
            set
            {
                if (addDate != value)
                {
                    addDate = value;
                    NotifyPropertyChanged("AddDate");
                }
            }
        }
        public virtual string Status
        {
            get { return status; }
            set
            {
                if (status != value)
                {
                    status = value;
                    NotifyPropertyChanged("Status");
                }
            }
        }
    }
}
